<template>
  <div>
      深浅拷贝
  </div>
</template>

<script>
   export default {
      name: "",
      mounted() {
        this.init()
      },
      methods: {
        init() {
          //对象保存在堆栈 以指针的形式指向
          let a = {
            name:'leilei',
            career:'coder'
          }
          let obj = a
          obj.name = 'kobe'
          console.log(a.name);

          
        }
      }
}
</script>

<style scoped>

</style>
